//
//  AccountLinkCell.h
//  WDFans
//
//  Created by Zhihong Yuan on 2/3/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol AccountLinkCellDelegate;

@interface AccountLinkCell : UITableViewCell
{
    id<AccountLinkCellDelegate> delegate_;
}

@property (nonatomic, retain) IBOutlet UIImageView *accountLogo;
@property (nonatomic, retain) IBOutlet UILabel *accountName;
@property (nonatomic, retain) IBOutlet UISwitch *linkSwitch;
@property (nonatomic, assign) id<AccountLinkCellDelegate> delegate;

- (IBAction)linkOrUnlinkAccountSwitched;

@end

@protocol AccountLinkCellDelegate <NSObject>

- (void)didLinkOrUnlinkAccount:(AccountLinkCell *)accountCell;

@end
